// 个人信息模块路由
import Personal from '@/pages/personal'
import PersonalProfile from '@/pages/personal/profile'
import PersonalHistory from '@/pages/personal/history'

const personalRoutes = {
  name: 'personal',
  path: 'personal',
  component: Personal,
  redirect: 'personal/profile',
  children: [{
    path: 'profile',
    component: PersonalProfile
  }, {
    path: 'history',
    component: PersonalHistory
  }]
}

// 导出
export default personalRoutes
